package com.nine.service;

import com.github.pagehelper.Page;
import com.nine.entity.PageSort;
import com.nine.entity.TestPlan;

import java.util.List;

/**
 * @Description:测试计划的Service接口
 * @Author:LouFangRui
 * @Date:2022/7/1 9:58
 */
public interface TestPlanService {
	/**
	 * 查询and模糊查询
	 * */
	List<TestPlan> selectAllPlan(TestPlan testPlan);

	/**
	 * 添加
	 * */
	int addTestPlan(TestPlan testPlan);

	/**
	 * 修改
	 * */
	int updatePlanById(TestPlan testPlan);

	/**
	 * 删除
	 * */
	int deletePlanById(String [] testPlanId);

	/**
	 *分页查询
	 * */
	Page selectAllPlanByPage(PageSort pageSort, TestPlan testPlan);
}
